<!DOCTYPE html>
<html>
<head>
	<title>插入DOM</title>
</head>
<body>
	<fieldset>
		<legend>appendChild，把一个子节点添加到父节点的最后一个子节点</legend>
		<p id="js">javaScript</p>
		<div id="list">
			<p>c</p>
			<p>c++</p>
			<p>java</p>
		</div>
	</fieldset>
	<script type="text/javascript">
		var oJs = document.getElementById("js");
		var oList = document.getElementById('list');
		oList.appendChild(js);
	</script>
</body>
</html>